package com.qh.yyxt.pojo.entity.thing;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.bind.Name;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class ThingSize
{
    @TableId
    @JsonProperty("id")
    private Integer id;
    //对应的物品id
    @JsonProperty("tid")
    private Integer tid;
    //基本size信息
    @JsonProperty("size")
    private String size;
    //数量
    @JsonProperty("num")
    private Integer num;
    //剩余数量
    @JsonProperty("renum")
    private Integer renum;
}
